]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Use python to extract JS snippets from style guide
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 13 Apr 2025 01:07:16 +0000 (03:07 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sun, 13 Apr 2025 11:53:41 +0000 (11:53 +0000)
commitd03bf7c2c420e561d748a308aa6b69ba1a1f65ed
tree3aff15414bb320eb88bd1e77ad452a2b1e1c5fde
parent1ccb7bb5d0561ff0064a67e16cdcc1222b03d011
ci: Use python to extract JS snippets from style guide

The job that lints code snippets in the style guide only runs
when either the documentation or the linting rules are changed.

Because of that it went unnoticed that the awk tool it uses to
extract the snippets is no longer available since the CI image
was rebased to F42.

Given that awk is awkward anyway, use the opportunity to rewrite the
snippet extraction in python instead of adding awk back to the image.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3694>
.gitlab-ci/eslint-coding-style.sh